<template>
	<view class="content">
		<ul class="picker">
			<li class="picker-first">
				<u-picker :show="show" :columns="columnsfish" @confirm="confirmHandler" @cancel="changeHandler"></u-picker>
				<u-button @click="show = true">
					<span>鱼塘位置    {{confirm}}</span>
					<i class="iconfont icon-jiantouyou"></i>
				</u-button>
			</li>
			<!-- <li class="picker-last">
				<u-picker :show="show" :columns="columnsstate"></u-picker>
				<u-button @click="show = true">
					<span>钓位</span>
					<i class="iconfont icon-jiantouyou"></i>
				</u-button>
			</li> -->
		</ul>
		<div class="text">留言备注</div>
		<div class="input">
			<u--textarea v-model="value1" placeholder="请输入内容"></u--textarea>
		</div>
		<div class="button">
			<u-button type="primary" text="确认" color="#282828" shape="circle"></u-button>
		</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: false,
				value1: '',
				confirm:'',
				columnsfish:[
					['鲤鱼塘', '综合塘']
				],
				columnsstate:[
					['1', '2','3','4','5']
				]
			}
		},
		methods:{
			changeHandler(){
				this.show = false;
			},
			confirmHandler(e){
				this.confirm = e.value[0];
				this.show = false;
			}
		}
		
	}
</script>

<style lang="less" scoped>
	*{
		padding: 0;
		margin: 0;
	}
	.content {
		display: flex;
		width: 100vw;
		height: 100vh;
		overflow: hidden;
		flex-direction: column;
		align-items: center;
		position: relative;
		background-color: #F1F1F1;
		.picker{
			// position: absolute;
			display: flex;
			flex-direction: column;
			height: 80rpx;
			width: 702rpx;
			margin-top: 40rpx;
			.picker-first{
				display: flex;
				margin-bottom:16rpx;
				::v-deep .u-button.data-v-2bf0e569{
					display: flex;
					width: 702rpx;
					justify-content: space-between;
					span{
						font-size: 32rpx;
					}
					i{
						color:#4F4F4F;
					}
				}
			}
			.picker-last{
				display: flex;
				::v-deep .u-button.data-v-2bf0e569{
					display: flex;
					width: 702rpx;
					justify-content: space-between;
					span{
						font-size: 32rpx;
					}
					i{
						color:#4F4F4F;
					}
				}
			}
		}
		.text{
			display: flex;
			width: 702rpx;
			margin-top:132rpx;
			padding-left: 44rpx;
			font-size: 28rpx;
		}
		.input{
			display: flex;
			width: 702rpx;
			height:702rpx;
			::v-deep .u-textarea__field.data-v-09988a29{
				font-size: 24rpx;
			}
		}
		.button {
			height: 88rpx;
			width: 632rpx;
			margin-top: 60rpx;
			border-radius: 60rpx;
			font-size: 32rpx;
		}
	}
</style>
